<template>
    <view class="identityPage">
		<block v-for="(item,index) in selects" :key="index">
			<view class="selBtn text-center font16 top-20 col-theme">
				<view v-for="(tit, titI) in item.titles" :key="titI">{{tit}}</view>
			</view>
			<view class="text-left top-10" v-if="item.type === 'waiDi'">注:非沪籍<text class="fontBold col-theme">连续缴纳满3年及以上,</text>多子家庭(只要有一个未成年)</view>
		</block>
    </view>
</template>
<script>
	export default {
        data() {
            return {
				selects: [{
					titles: ['上海单亲+1个小孩可买2套'],
					type: ''
				},{
					titles: ['上海家庭(含单亲)+2个小孩可买3套'],
					type: ''
				},{
					titles: ['外地单亲+1个小孩可买1套'],
					type: ''
				},{
					titles: ['外地家庭(含单亲)+2个小孩可买2套'],
					type: 'waiDi'
				}]
            }
        },
        //分享
        onShareAppMessage(res) {
        	return {
        		title: "上海限购查询，快来测测限购几套",
        		path: `/pages/tools/purchase/identity`,
        	}
        },
		methods:{
		}
    }
</script>

<style scoped lang="scss">
	.identityPage{
		padding: 60rpx;
		line-height: 1.4;
		.selBtn{
			justify-content: space-between;
			border: 1rpx solid $theme-color;
			border-radius: 10rpx;
		}
	}

</style>